package com.taomu.app.zongchouhuli.moudle.login.contract;

import android.widget.TextView;

import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;

public class RegisterContract {
    public interface Presenter extends BasePresenter {

        void isSumbmitCanClick(TextView tv1, TextView tv2 , TextView tv3);

        void isSmsCanClick(TextView tv1);

        void getSmsCode(String phone);

        void getRegister(String phone, String password, String pay_password, String code,String invitecode);

        void getFindPassword(String phone,String code,String password);

        void detech();
    }

    public interface View extends BaseView<Presenter> {

        void setSubmitCanClick(int bgcolor, boolean enable);

        void setSmsCanClick(int textcolor, boolean enable);

        void setSmsBackTime(String msg, boolean enable);

        void setSendSmsSuccess(String msg);

        void setRegister();
    }
}
